package com.agp;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * 熔断器示例
 *
 * @author oKong
 */
@SpringBootApplication
@EnableHystrixDashboard

@Slf4j
public class HystrixDashboardApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(HystrixDashboardApplication.class, args);
        log.info("spring-cloud-hystrix启动!");
    }

}